package com.thunms.junit.userLogin;

import com.thunms.junit.userAccount.UserAccount;

public final class Login2Service {
    private static final int MAX_LOGIN_ATTEMPTS = 3;

    private int loginAttemptsRemaining = MAX_LOGIN_ATTEMPTS;
    private String previousAccountId;
    private UserAccount account;

    public void login(
            String accountId, String password
    ) {
        account = UserAccount.find(accountId);


    }

    public void registerNewLogin() {
        account = UserAccount.find(previousAccountId);
    }


}
